﻿<%@ page language="java" contentType="text/xml; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>计算机应用设计大赛信息核对页面</title>

<style type="text/css">
body{
	font: 12px/20px "Microsoft Yahei","微软雅黑",'Helvetica Neue',Helvetica,Arial,Sans-serif;
	padding: 0;
	margin: 0;
	color: #333;
}
a img{
	border: 0;
}
.border4{
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
}
#container {
	width: 920px;
	margin-right: auto;
	margin-left: auto;
}
#notice{
	border: 1px solid #FCEFA1;
	color: #330000;
	background-color: rgb(251,249,239);
	margin-bottom: 20px;
	margin-top: 20px;
}
#notice_title{
	font-size: 14px;
	font-weight: bold;
	padding: 10px;
	background-color: #CF9;
}
#notice_content{
	margin: 0px;
	padding: 10px;
}
#notice_content li{
	list-style-position: inside;
	list-style-type: disc;
	line-height: 24px;
}
table{
	background-color: #999999;
	margin-bottom: 20px;
}
table td{
	background-color:#FBF9EF;
	padding: 4px 6px;
}
table th{
	background-color: #999;
	text-align: left;
	color: #FBF9EF;
	padding: 4px 6px;
}
.header td{
	font-weight: bold;
	background-color: #CF9;
	text-align: center;
	color: #300;
}
table td.center{
	text-align:center;
}
table td.right{
	text-align:right;
}
table td.ok{
	color:#00FF00;
}
table td.error{
	color:#FF0000;
}
</style>
</head>

<body>
<div id="container">
<div id="notice" class="border4">
	<div id="notice_title" class="border4">查看提示</div>
    <ul id="notice_content">
   	<li>本页面只供参赛选手查看自己小组的大赛进度</li>
        <li>如若觉得侵犯隐私，可以发邮件到xiaoguichao@foxmail.com，指明小组编号，我们将予以隐藏</li>
        <li>查找提示：可以通过作品类别寻找自己作品，也可ctrl+f，通过组长或作品名寻找到自己小组。</li>
        <li>温馨提示：本次大赛决赛入围名额有限，淘汰了众多优秀作品，希望大家本着重在参与的态度看待。</li>
    </ul>
</div>
<s:iterator value="workSets">
<table class="border4" cellspacing="1" border="0">
<tr><th colspan="6" class="border4"><s:property value="typeName" />&nbsp;&nbsp;&nbsp;<s:property value="size" />组</th></tr>
<tr class="header">
	<td width="150">用户名</td>
	<td width="280">作品名</td>
	<td width="60">作品状态</td>
	<td width="90">第一作者姓名</td>
	<td width="90">第一作者学号</td>
	<td width="60">决赛答辩</td>
	<td width="80">小组信息</td>
</tr>
<s:iterator value="groupList">
<tr>
	<td><s:property value="account.name" /></td>
	<td><s:property value="workName" /></td>
	<s:if test="%{status==2}"><td class="center error">未提交</td></s:if>
    <s:else><td class="center ok">已提交</td></s:else>
	<td class="center"><s:property value="firstMem.name" /></td>
	<td class="right"><s:property value="firstMem.number" /></td>
	<s:if test="%{status==4}"><td class="center error">入围</td></s:if>
    <s:else><td class="center ok">未入围</td></s:else>
	<td><a href="viewGroupInfo.action?groupId=<s:property value="id" />" target="_blank">查看</a></td>
</tr>
</s:iterator>
</table>
</s:iterator>
</div>
</body>
</html>